

package com.zdkj.subway.stm.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.zdkj.subway.stm.util.LocalDateConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * tvm结算
 *
 * @author songtuo
 * @date 2020-08-09 17:14:18
 */
@Data
@TableName("sw_st_tvm_settle")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "tvm结算")
public class SwStTvmSettle extends Model<SwStTvmSettle> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    @ExcelProperty("序号")
    private Integer id;
    /**
     * 线路编码不能重复
     */
    @ExcelIgnore
    @ApiModelProperty(value = "线路编码不能重复")
    private String lineCode;
    /**
     * 车站编码不能重复
     */
    @ExcelIgnore
    @ApiModelProperty(value = "车站编码不能重复")
    private String stationCode;
    /**
     * TVM编号 TVM编号辅助功能设置中获取
     */
    @ExcelProperty("TVM编号")
    @ApiModelProperty(value = "TVM编号 TVM编号辅助功能设置中获取")
    private String tvmCode;
    /**
     * 结算开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "结算开始周期", converter = LocalDateConverter.class)
    @ApiModelProperty(value = "结算开始时间")
    private LocalDate sellStartTime;
    /**
     * 结算截止时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "结算截止日期", converter = LocalDateConverter.class)
    @ApiModelProperty(value = "结算截止时间")
    private LocalDate sellEndTime;
    /**
     * 结算日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "结账日期", converter = LocalDateConverter.class)
    @ApiModelProperty(value = "结算日期")
    private LocalDate settlementTime;
    /**
     * 现金实收金额（元）
     */
    @ExcelProperty("现金实收金额（元）")
    @ApiModelProperty(value = "现金实收金额（元）")
    private BigDecimal cashReceiptAmount;
    /**
     * 客运值班员ID
     */
    @ExcelIgnore
    @ApiModelProperty(value = "客运值班员ID")
    private Integer passengerAttendantId;
    /**
     * 客运值班员名称
     */
    @ApiModelProperty(value = "客运值班员名称")
    @ExcelProperty("客运值班员")
    private String passengerAttendantName;
    /**
     * 客运值班员工号
     */
    @ExcelProperty("客运值班员工号")
    @ApiModelProperty(value = "客运值班员工号")
    private String passengerAttendantJobNo;
    /**
     * 值班人员Id
     */
    @ExcelIgnore
    @ApiModelProperty(value = "值班人员Id")
    private Integer attendancePersonId;
    /**
     * 值班员名称
     */
    @ExcelProperty("值班站长")
    @ApiModelProperty(value = "值班员名称")
    private String attendancePersonName;
    /**
     * 值班员工号
     */
    @ExcelProperty("值班站长工号")
    @ApiModelProperty(value = "值班员工号")
    private String attendancePersonJobNo;

    /**
     * 审批状态(未提交，已提交)
     */
    @ApiModelProperty(value = "审批状态(未提交，已提交)")
    @ExcelIgnore
    private String approvalStatus;
    /**
     * 备注
     */
    @ExcelIgnore
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 部门ID
     */
    @ExcelIgnore
    @ApiModelProperty(value = "部门ID")
    private Integer deptId;
    /**
     * 创建人名称
     */
    @ExcelIgnore
    @ApiModelProperty(value = "创建人名称")
    private String creatorName;
    /**
     * 创建时间
     */
    @ExcelIgnore
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 数据更新时间
     */
    @ExcelIgnore
    @ApiModelProperty(value = "数据更新时间")
    private LocalDateTime updateTime;
    /**
     * 删除标志 1:删除 0：未删除
     */
    @ApiModelProperty(value = "删除标志 1:删除 0：未删除")
    @ExcelIgnore
    private String delFlag;
}
